import service from "@/utils/request";
const DEPT_BASE_URL = "/api";
class vendor {
  static getList(queryParams?: vendorQuery) {
    return service<any, vendorQuery>({
      url: `${DEPT_BASE_URL}VendorModel/GetVendorModel`,
      method: "post",
      data: queryParams,
    });
  }
}
export default vendor;

export interface vendorQuery {
  venDorCode?: string;
  vendorName?: string;
  responsibleName?: string;
  markets?: string;
  salesman?: string;
  useState?: boolean;
  pageIndex?: number;
  pageSize?: number;
}
